﻿#pragma once

#include "Containers/ThreadSafePtr.h"
#include "Scene/SceneNodeComponent.h"
#include "Math/Color.h"
#include "AmbientLightComponent.m.h"

class CRenderAmbientLight;

//直接照亮整个场景的光源
RCLASS() 
class WHENGINE_API RAmbientLightComponent:public RSceneNodeComponent
{
    ROBJECT

public:
    
    RFIELD()
    SColor Color=SColor::White;

    RFIELD()
    float Intensity=0.2f;
    
    virtual void Paint(CRenderScene* InRenderData) override;

protected:

};